package com.wk1un2.service;

import java.util.List;
import java.util.Map;

import com.wk1un2.entity.Product;
import com.wk1un2.entity.ProductCategory;
import com.wk1un2.entity.ProductSpec;
import com.wk1un2.util.Result;

public interface ProductSpecService {
	// 获取所有商品分类的信息
	// 返回所有分类集
	public List<Map<String, Object>> getAll(int page, int limit, String ps_color, String ps_price);

	public List<Map<String, Object>> getAllindex(int page, int limit, Integer p_id);

	public Integer count();

	public Integer add(Map<String, Object> map);

	public Integer update(Map<String, Object> map);

	public Integer delete(int ps_id);
}